Yes,
Use " interface range fa 0/x - y" command.There is a space between X, "-" and Y where X and Y denotes the module and interface port number.
Do this :
config t
interface ramge fa 0/1 - 10
switcport access vlan 10
You have to check the IOS that you running, if it supports the " range" command.
HTH,Please rate if it does.
-amit singh