I'm not sure I understand your question. I believe you meant to ask:
Is "in my idea" grammatical (in English)?
If that's what you meant, the answer is possibly. It really depends on how you use it.
Please try to provide a full sentence for us to consider.