It wont be rims or tyres if the vibration comes and goes, they would cause a constant vibration. Buckled rim would be obvious when balancing even with tyres fitted to rims.
Wheel bearing will be noisy and the noise will change when you veer left to right, also raise the car and grab the tyre at the top and bottom and see if theres any play in the wheel pushing the top and in pulling the bottom out and vice versa.
Tie rod ends worth a look, if you replace them measure how much thread is visible on the old ones and fit the new ones the same, saves realigning. (Presuming the new are identical to old)