Rusted frame

I'm looking at a car with a section of the frame that's pretty rusty,could I weld a plate on both sides to make it safe?
Thanks