I think you need to change your thoughts on the name of the joint.
it’s not an expansion joint, but a movement joint.
I was always told that if you have any shape like a tennis racket, so a big square area with a thin corridor coming off it, it will crack at the join between the two.
I used a strip of firm foam with gaffa tape both sides, placed in every doorway, situated under where the door will close, so if you have different floor coverings in the different rooms the expansion trims will be hidden under the doors.