In physics, spacetime mathematical models fuse the three dimensions of space and the one dimension of time into a single four-dimensional continuum.
The question asks whether the existence of a 4D model of the universe is necessary to UNDERSTAND special relativity or electromagnetism, as the Minkowski SR [1]. Not like Einstein SR, that results in inconsistencies that cannot be resolved within the system, and then beset the results.
[1] Minkowski SR uses spacetime to provide a clear pictorial representation for the special theory of relativity. See https://demonstrations.wolfram.com/MinkowskiSpacetime/