The issue is, you can optimize a software encoders continually, you can use tricks for better quality etc.
A hardware encoder is just that - hardware. As soon as it’s burned to the silicon, you’re not making any (at least substantial) changes to it. You might also be limited by what you can actually do directly in hardware without using too much die space.
Tldr.: no, you won’t get the same result
Yeah, whoever thought that sd cards were a good idea for anything even resembling operating systems is a dum dum