Syntax Extension to change indentation (Space vs Tab)

Some language only allows certain type of indentation. It would be great if the syntax extension can enforce it

Would it be possible for syntax extension to change/suggest the default indentation (Space vs Tab) of the editor?