Yes. You can use the money available in your EPF Account 1 for your investment. However, there is a limit on how much you can withdraw from the account.
You can only use up to 30% of the excess in your EPF Account 1 balance after deducting the Basic Required Savings.
The Basic Required Savings changes according to your age.