Latvia (and Lithuania) are both signatures to the Schengen Treaty and therefore required to apply the Schengen acquis. Immigration requirements are likely to be the same as most other EU countries.
Unless you have the right (by birth, naturalisation, or visa,) to live and work in an EU member state, you cannot live and work in an EU member state. Egyptian citizens do not even have the right to visit visa free, and that is reciprocated for EU travel to Egypt.