"Is X to do with Y" is perfectly grammatical, and reasonably common. For example:
Is this question to do with English Grammar? If so, the tag "grammar" is probably appropriate.
"X is to do with Y" is also valid:
This document is to do with our company's new policy on IT usage.
This inspection is to do with the new health and safety regulations.