Is there a way to prevent femoral hernias?

No. There is no known way to prevent femoral hernias, even with activity restrictions. When diagnosed, most femoral hernias should be repaired. This could be done laparoscopically or open.
No. While there is no way to prevent femoral hernias, they will tend to get larger with prolonged exertion such as heavy lifting or obesity.