Dimmer slider

On Android 11 besides being able to add actions to your home screen you can also add controls to your power button (long hold)

Is there a way to make a dimmer slider the whole tile like in the image above?

One tap turns it on, tap and drag adjusts the slider.