Yes. Both Social Security and Medicare withholding are allowed.