Jmeter does not operate with real browsers. It only simulates signals to the server like they would be sent if you would use real browser. However it is possible to buld the scenario you've described in your question. It requires pretty much basic knowledge so you can easily find tutorial in Google.