My small 45 year old 3/4 hp compressor air tank needs to be replaced.

Is it ok to weld the air pump and motor base onto a new tank?

The factories obviously do it; just not sure if there are any safety issues, and how they are dealt with.

Thanks,
rivets