I once had to R&R a ceiling fan on an extremely-sloped ceiling. The angle of the ball on the rod prevented the remote receiver from fitting in the mounting bracket.
My solution was to place the receiver in the 3-gang box that the fan was fed from, behind the switches, using the 14-3 to connect the receiver wires to the fan wires.
Believe me, I had to re-dress that 3-gang box very carefully, like I normally do on new work. By the way, my brother and his wife were very happy with the results.
Fine Electric Co.