Only if you actually have a child. Otherwise, you had a child, let it be raised by someone else (preferably in another country), then left them all your money. You mention them sometimes, and possible even go to "visit" them occasionally, but their other parent won't let them come to visit you. More difficult for a woman than a man but doable.
In Forever the lead character adopted a child during WWII (when adoptions were sometimes a bit more informal) and then died and left his money to him and, once his son was old, maqueraded as his son's son. Eventually he would have inherited from his son/Dad.