Sure you can use another instruction for padding, but it won't do the same thing. For 0xCC, you want "int3" (no space) not "int 3" (with a space... this forum software is apt to butcher spaces) - not quite the same thing. What is it you want to do?
Best,
Frank