Zend certified PHP/Magento developer

Can you map in require.js in a vendor/module to overwrite an HTML file in another vendor/module in Magento 2?

Instead of overwriting an HTML file in a core or 3rd party vendor/module via app/code, could you do it from another vendor/module via mapping in require.js?