I've looked at doing that before, but unless you want a whole crapload of cutting/grinding/welding to take-up your weekend, just buy a direct-fit.
Or, visit a scrap yard (or five) and try to get one there. I've been running two of my cars on scrap yard O2 sensors for a long time (years) and they're still fine--price I paid: $10 each.
__________________

1990 5spd V6 Camry (Still kicking at 393,000km) 1991 Celica GTS -- Pappa needs a 3SGTE...and AWD for all this friggin' snow
Honda my A$$, you just can't kill a Yota...