Sure.
You can actually stack two different walls on top of each other but this is not the best option if you want to add doors and windows that span both walls (you'll need a window in one wall and an empty opening in the other).
The best solution is a Complex Profile wall that you create from fills in the profile Manager.
This will be one complete wall with as many parts as you need (in any shape as well).
You place it with the wall tool but have to switch the wall structure to use the complex profiles.
Doors and windows will interact just as they do with standard composite walls.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11