I would hope if you actually went to this effort that you would actually purchase a E-code lamp for the housing. Using standard AutoZone lamps would be pointless. All that work for what will still be outdated technology. Every time you had a light burn out you would have to cut it open again also.
You have the idea right, just dont use the lamps you are thinking of using.