They are bootable. There can be hidden size issues. I just added an APFS container to a larger disk and then realized that I needed more space on that new container. I deleted a bunch of files in the other did not free up the space I needed.
Note that the installer will create a second APFS container for the data portion of the install.