I have seen castellated slots on pcbs, but never done any myself.
You do castellated holes using normal holes with board outline going through them.
So you should just be able to put a slot there in the same way.
I don't see any issues.
Just be aware they will charge extra for castellated holes/slots because the drill/router bit needs to be much newer/sharper to get clean cuts without tearing up the pads.