Given Danica was paid $12 million per year to drive NASCAR, I'm guessing that modeling contributed only a fraction of her net worth. Was it okay for Melania Trump to model? I wouldn't want my daughter to model but as long as it isn't explicit stuff, I don't have an issue with other women doing it.
Never saw Melania wheel a race car so can't comment there.
Let's consider another real world example. Danica started at the top level of NASCAR at age 30 and had 191 starts with 0 top 5's and 7 top 10's. Average starting and finishing position was about the same at 25/24. She has been celebrated as some super talented racer.
Robert Pressley started at the upper level of NASCAR at age 30 had 205 starts with 5 top 5's and 11 top 10's. Average start and average finish are about the same at 26. Robert did have 10 Xfinity level wins however.
Was Robert Pressley held in the same regard as Danica? Nope.
Danica had a ride in the sport cause she could bring in the sponsorship not because she had any special talent. There are plenty of male drivers who are in similar positions. It is highly unlikely that Austin Dillon would have a ride other than the fact he is Richard Childress' grandson.
On the flip side, if you look at someone like Kyle Larson, whose family had little money, he rose through the sport on talent.