If you are confident that HTML will be your only target over time, then for sure this works.
The challenge can come if/when your backend needs to start servicing a mobile app, or some other channel that doesn't use HTML.
But again if you know that won't happen, no need to prematurely optimize for it.