At the moment it is not possible to use any code in The Sims Mobile. Although, there are chances that the codes for The Sims Mobile will appear in the future.
There is, however, a way that makes it easier for Sim to gain history points. In The Sims Mobile you can score points using activities of a different Sim.
This works when you have at least two Sims. We will demonstrate this process on the example of hobbies. You have to start stories about hobbies for both of your Sims. The stories must be different. When the event is over, switch to the character you want to score. When you do this, confirm both events - click on both stamps marked in the screenshot. This way, the points will only go to the Sim that you are currently controlling. Thanks to that your chosen Sim will gain the whole pool of points and level up much faster.
You can also increase relationship points with your Sim by taking part in a work-related events. This is monotonous and boring, because each interaction gives only 1 point of acquaintance. However, you don't lose any energy points. Just send your Sim home while he/she is at work and invite a friend to join you. When you click on your Sim you will get a few interactions to do. They have a short renewal time of about one minute.
You can enjoy all the interactions - if you do a love story you can use the interactions from the "rivalry" section. They won't affect history, but increase the number of points of acquaintance.