There are a lot of breeds that you can go with, but almost none of them will be happy confined to a apartment unless you exercise them daily.
One of the interesting things about apartment dogs vs house w/ backyard dogs from my experience is that apartment dogs get more exercise.
People think that a dog will be entertained with a large backyard to run and around and play in, but some dogs get bored after a while and that is when they get into trouble.
I had a GWP in an apartment before and I just set a routine to walk him after I got home and have 0 issues.
I had another GWP in a house w/ a yard and I set the same routine, but he was a destructive puppy. My routine changed from coming home and walking him to coming home and cleaning up his mess. He grew out of it, but he was a nightmare puppy.
Each dog is going to be different in that regard.
I do think that dogs more prone to separation anxiety should be avoided in favor of dogs that are less prone to it.
If I had to suggest breeds to avoid in an apartment it would be GSP's, GWP's, Vizslas, and Chessies. Labs are also hit or miss with this.
If I had to suggest breeds to look into for an apartment, it would be Italian Braccos, Wirehaired Pointing Griffons, Brittany, Boykin Spaniel, and Spinone Italiano.
Granted, you can have one of the former without Sep Anx and ones in the latter with Sep Anx - The likeihood may go down.
Find a good breeder and explain your situation to the breeder and see if you are a right fit.