That’s why Claude had a customizable style setting that let you just paste in example text to create a new writing voice. Not sure if they still have it or not.
You don’t need a built in feature though, you can just paste examples into the prompt and tell it to write in the same style.