You would need to apply from your home country.
Yes. unfortunately it could affect your future temporary visa applications.
I would recommend not applying for any visa (TRV/study permit) for at least 6-8 months. If possible do enroll in a suitable study program in your home country or maybe find a job. Basically, do establish some ties to your home country + work on your financial situation before you apply