Is architecture part of STEM?

It can be.

Architecture and architects can go heavily into the engineering and mathematics/geometry of buildings.

Or, you can avoid these items altogether letting others resolve these issues.

Structural and electrical engineering are quite math heavy. With modern cad systems you use an incredible amount of geometry. And lastly, you are always measuring.