Sorta.
The YM2413 is the same
electrical interface as the VRC7, but it sounds noticeably different. See the
two audio
recordings comparing the two sounds (left/right, each file is a different song) on our wiki.
On the other hand, if you just want in-tune
bleep bloops, it's adequate. But if you just want in-tune
bleep bloops you may be able to emulate just VRC7's ADSR acting on some square waves and fit that in a CPLD.