Hi, can I create modules in polybar with similar functionality? (hovering which shows some text and add nice underline and also drop down menu, for example pavucontrol for pulseaudio)
Sadly no.
(You can prolly create drop down menu in a hacky way by creating some script that would launch a drop down looking menu and have your wm's window rules display it under the module when clicked)
Btw waybar supports tooltips(hover text thingy) but its wayland only