Yes. You can apply for an Employment Pass (EP) while you are in Singapore on a valid visit pass.
However, you cannot start working until the EP is approved and issued by the Ministry of Manpower (MOM).
If approved, you may need to complete formalities such as issuance procedures before commencing employment.
24/7/365