It depends on the vehicle design. A strut by design is also a component that supports the wheel & tire. Some models aren’t affected when the struts are replaced while others do change the wheel alignment. Strut removal & installation potentially changes the position of the tire alignment. Some struts have adjustment slots to perform the alignment with. All struts affect alignment in some way so it’s best to check the specific vehicle service manual and specifications.