Usually yes, check the ampearage, if they are compatible.
The DC switches normally are with more breaking capacity for obvious reasons, so under-rating the DC switch for AC application is no issue (unless it is solid state of course ) But reverse is not true. An AC switch in DC application need care-ful study (unless the name plate provides it)
(ALso check up the type of load you don't want the voltage spikes or inruch currents to flow through switch while making or breaking)
__________________
Fantastic ideas for a Fantastic World, I make the illogical logical.They put me in cars,they put me in yer tv.They put me in stereos and those little radios you stick in your ears.They even put me in watches, they have teeny gremlins for your watches