Custom pages with html in wordpress editor vs. writing it all directly in the php template files?

Yes, it’s fine to do that. WordPress doesn’t care if the loop or any of the other content-related PHP in the theme file is there or runs, but you should leave get_header() and get_footer()

error code: 523