From the point of view of equipment performance and durability, there is absolutely no reason to limit the amount of spacers above the stem. It is possible the extension could become a hazard to the rider in some situations, but the stem and headset will function perfectly no matter how many spacers are stacked above.
There is a limit to how many spacers are under the stem, though - especially with carbon steerers, which often have a published maximum.