Custom scheduler class?

I would like to provide my own learning rate scheduler. What I would love is do is doing this in the lightning style, e.g. implementing some hooks:

class MyScheduler(pl.LightningScheduler):
    ...
    def step(self):
        ...

Is something like this possible? How do other people handle custom schedulers?