AFAIK The bootrom exploit doesn’t allow getting around the hardware-based lockout. But I’m open to be proven wrong.
(Technically you could boot a fake OS with a passcode skimmer, but developing this into an actual exploit isn't any easier than simply observing the user entering their passcode.)