Subscribe mqtt sensor with#

Is it possible to subscribe a mqtt sensor with # (for me it did not work)
- platform: mqtt
name: "all chat messages"
state_topic: "chat/#

I’d like to receive all values from any chat/# topic
e.g. from chat/user1 “text1” and chat/user2 “text2” is merged in one sensor - not mentioning the user x
only the last message from chat/# will be visible
Any ideas how to do this?