Is it possible to create a button drag/swipe action to adjust brightness/volume

Seen that the two and three finger swipe crashed BTT with no fix in sight and the Brightness slider widget taking up to much space, would it be possible to create a button on which you hold and swipe to left or right to adjust settings up and down?