Genearlly right. not sure if you mention to bring the strikebetween sold call and bought call close enough.
i.e. to replicate a 5m pay out digital
Long call 500m at 10.00
Short Call 500m at 10.01
Good luck
Digital Call. Strike @ 10, payoff=5m if S>k