Same SSID, different VLANs

Hello everyone, can I create a single SSID that based on the password assigns a VLAN to a device?

For example:
SSID: My Wifi
If password Hello@1 then VLAN is 10
If password is Tata7! then VLAN is 30

What password? One WiFi SSID implies only one password. Have you ever seen WiFi network with one SSID name and more than one password?

not necessarily. With CapsMan V2, you can set access list rules, whereby, for example a specific client, one can set a special password. This is useful for IoT devices, which do not have a (good) way to enter a password. So you do not need to weaken your overall Security (weak password), and still can admit those clients.

Access Lists can set specific passwords for specific clients (specified by MAC). In my knowledge it is not possible to say “If a (random) client uses password AAA for SSID, assign VLAN AAA, else assign VLAN BBB

https://help.mikrotik.com/docs/display/ROS/WiFi#WiFi-AccessList.1

Yes, all the wireless competitors support this feature.

Ubiquiti - https://support.hostifi.com/en/articles/9055935-unifi-how-to-setup-private-pre-shared-keys-ppsk
Meraki - https://documentation.meraki.com/MR/Encryption_and_Authentication/IPSK_Authentication_without_RADIUS
Cisco - https://www.wifireference.com/2017/12/10/cisco-identity-psk-what-is-it-and-how-is-it-configured/

Use Radius then.

Or… Another idea… Mikrotik actually start to follow trends…