Yes, if it is big enough say 4 feet by 6 ish,
If you shoot rabbits skin some and keep the guts keeping the skins,
Throw all the guts in the trap and wear gloves or the fox will scent you from it.
One you have caught a fox do you have a suitable rifle or a .410 to do the job properly?
cheers