Do you need an alignment when you buy new tires?

Required? No.

Good idea? Yes, definitely.

Why spend good money on new tires and then have them wear out prematurely because the alignment is bad? Have the alignment checked when the new tires are installed.