Personal opinion, I think pistol length 5.56 is a waste. That cartridge just loses too much. I mean, the physics don't lie and there are better caliber choices for shorties. 300 Blackout being the obvious choice. I would also throw 350 Legend in the mix and 458 Socom, or if you really want to go outside the box, 510 Whisper.
What is a shorty good for in general? CQB, a truck gun, anywhere something smaller is easier to handle or store in limited space. Also, many pistols tend to get a suppressor stuck on the end as well and that adds another 6-8" to the length. A 16, 18 or 20 inch gun with a suppressor is pretty unwieldy for those scenarios.
Suppressed pistol lengths usually mean sub sonics and since you have a velocity limit, the only way to get more energy on target is with more mass (i.e. heavier bullet) and to do that, you realistically have to go to bigger calibers. LeHigh and a couple other makers are starting to come out with big, heavy, effective bullets that work well at sub sonic speeds.
Sure, you can get just about any AR-15 compatible caliber in any length you want, but as the saying goes, just because you can doesn't mean you should. However, with that said, it is not "wrong" to make an 8" 5.56 and even slap a "loudener" brake on the thing if stupid loud ultra blasty shooting is "your thing", but I just think you need to understand the difference between "useful" and "blingy range toy."
I'm personally a pragmatic person, so I usually don't build range toys just because, I prefer to build something that has utilitarian value. The problem is, like so many arguments when it comes to guns and cartridges, is that no matter what you build, someone is going to say it useless or a poor choice for X,Y, or Z (in other words, a Dodge, Chevy, Ford argument). Fortunately, ballistics is rooted in pretty settled science along with the pros and cons for many of the pieces parts and gadgets you can get for an AR. This is why I will always suggest that someone building an AR do so from the perspective of a defined end goal or use case before you start bolting parts together. The "lego" nature of the AR, coupled with the capabilities of many of the available cartridges, can easily get configured in useless combinations that is not particularly good at any one thing (and sometimes not even acceptable at any thing). The example I usually give is the venerable 300 Blackout. A cartridge that shoots bullets from about 110 grains all the way up to 250-ish grains. The problems people have is usually because they come to the table expecting an AR to run that full gamut without issues. That's why you'll see posts along the lines of "my xxx AR shoots unsuppressed 125 grainers fine, but won't run suppressed 220 grainers, or something along those lines.