I believe these are called “monobloc” and they exist, but are rare in the US.
You can buy them as “packaged terminal heat pumps”. They’re very common in motels.