Mordecai is pronounced with a rough ch- sound (think Ross Geller saying Hanukkah), if that helps. Cai wouldn’t make sense unless you’d pronounce it like Chai, which means life and is unrelated to Mordecai but if that doesn’t bother you then it’s fine
Although to add, the vast majority of people are pronouncing it incorrectly so chances are they won’t even notice