I want to file my federal taxes online, but mail in my state taxes.
Yes, you can. You are not required to eFile both.
Yes, you can choose to electronically file your Federal return and mail your state return (unless your state required electronic filing).
As you go through the filing options you can choose how to file each return.
@taxmanfries