There are two aspects to consider. They are can a VGA->HDMI adapter support 400 pixels wide, and can it support 240 lines.
VGA has no pixel clock. A line is a set of continuous waveforms for R, G, and B. This means that there is no problem with a mis-matched horizontal resolution, except that the edges may be ugly.
If a VGA->HDMI convert supports 240 lines is a bigger question, and the answer is less certain. Some might not support it. Vintage VGA cards could be convinced to do all sort of weird line rates, much stranger than 240, so a good VGA->HDMI adapter should support it happily.
Adapters specifically for 8-bit and 16-bit consoles will probably do 240 lines, since 240p was what most of those used.
The OSSC can probably do it. I don't think any of the retrotink boxes support separate sync (which is what VGA provides), which is a shame because those are a great bang-for-the-buck.
VGA has no pixel clock. A line is a set of continuous waveforms for R, G, and B. This means that there is no problem with a mis-matched horizontal resolution, except that the edges may be ugly.
If a VGA->HDMI convert supports 240 lines is a bigger question, and the answer is less certain. Some might not support it. Vintage VGA cards could be convinced to do all sort of weird line rates, much stranger than 240, so a good VGA->HDMI adapter should support it happily.