Yes you can but you have to rely off the payment gateway’s (i.e. PayPal, Square, etc) embed coding which could affect your website’s layout depending on whether or not their code is customizable based on visuals.