Buying a car with no Dash VIN?!

I had a rusted out duster shell with all of the vins. I bought a driving duster without a title and put my vins on it so I could register it to drive. But I made sure no old vins could be recognized though. I do feel super bad about it Especially since it's a 340 H code car. But I plan on never selling it to make a profit. If anything it will end up wrecked eventually and used as a parts car to rebuild another duster.