Per the NEC National Electrical Code, No.
The switch needs to be rated to support the connected-load;
since electrical-outlets can have a variety of different-loads plugged-in,
the switch needs to be rated for the highest-normal/possible-load.
Most-switches are installed/rated for Permanent/Stationary/Wired-in-lamps with a much-lower load.
Easy to upgrade the switch though.