Putting Carpets on beds and then jumping or falling on the carpet causes you to bounce like you would on a normal bed even though the carpet is a different block
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue in MC-158154, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
I believe this Works as Intended because, if a carpet is placed on Glowstone or Sea Laterns, it continues glowing anyways. Therefore implying that this is normal block behavior of the carpet, and that you should still be able to jump on a bed from a high height, even if there is a carpet block on it.