Accelerometer sensor?

People do use them on office chairs, you can just attach it to the back or even underneath. It’s a little clunky, but it will work. For this purpose you only need the sensor part, you don’t need the smaller magnet piece.

See the following project report (the topic title of a clickable link)

Aqara makes a zigbee vibration sensor which is thinner, but less reliable in a smartthings environment.

Xiaomi vibration sensor

https://www.amazon.com/Aqara-Vibration-Sensor-Automation-Compatible/dp/B07PJT939B/

The fibaro multisensor is very reliable, highly adjustable, zwave, pretty small, but expensive.

What country are you in? The device selection does vary.