@roman khan,
I don't think the term "stakeholder" has any legal meaning. When I have heard this term used, it means everyone who has any interest in seeing the business succeed (including any employees as well as directors owners and board members... everyone). What counts as having an interest is probably a matter of opinion.
A shareholder is a legal term for someone who actually owns a portion of the company.
So yes, a stakeholder can become a shareholder. For this to happen, they just need to buy or otherwise obtain a share (i.e. stocks). This has happened a couple of times in my career where I as a stakeholder (employee) got stocks... once through an merger and another time through a stock purchase plan.
Any shareholder is by definition a stakeholder.