Can I use `.phtml` instead of `.php`

I’m going to echo all of the above comments & say it’s not a good practice to get into. You might want to borrow a convention from the PHPTemplate library used in Drupal and call your files something.tpl.php. That way it’s still a .php file, but you have an extra extension showing it’s a template.