Yes, you can. Many small businesses providing services often do. However, if you require payment upfront, it is best to have this set out clearly in your Terms and Conditions. Your Terms and Conditions should also state what happens in the event that the services are cancelled or terminated prior to completion if payment has already been made.