Carpets seem to be acting like slabs when attempting to put blocks, beds and other items on them which seems to defeat the purpose of being able to add a carpet. It would make more sense to be able to place on them, or else it would be better to just use wool
2 blocks cannot occupy the same space.