Hello,

Yes you could definitely do that using PHP code.

You will need to edit the contact.php file located in the sections folder of the theme.

Look on line 57.

This will help you https://contactform7.com/faq/can-i-embed-a-contact-form-into-my-template-file/