Hi, Alyosha!
Your sentence is grammatically correct. Yes, we do have the words SOMETIMES, SOMETIME, and SOME TIME, but they totally have different meanings and ways to use.
SOME TIME refers to a span of time.
Example: It will take some time to finish this project.
SOMETIME can be used as an adverb or an adjective, and it pertains to an unspecified point in time or "former".
Example (adverb): I'll discuss it with my parents sometime soon.
Example (adjective): She was a sometime professor in our university.
SOMETIMES is also an adverb which means occasionally.
Example: I sometimes think of my plans in life.
Another example of SOMETIMES and SOMETIME in a sentence:
I knew we met sometime, but it's hard to recognize her sometimes.
Hope this helps! Have a great day! 😊