Whilst you are able to get a new ESTA when you are in the US, this does not mean that you are able to stay in the US for a period longer than 90 days. The criteria of an ESTA is that you do not stay in the US for a period of any more than 90 days, which applies even if you take out a new ESTA.