Can I mix my own thinset mortar?
Most better thinset mortars are proprietary polymer-modified recipes which provide bond and flexibility that cement alone doesn't offer. Your home brew will be brittle and unreliable.

You could attempt to add modifiers to your mix, but the outcome will be a gamble. Also, any sand you use should be very fine or you'll have an unworkable grit.