Yes, many journals allow and even encourage posting a preprint prior to submission. A list of journal policies can be found on Wikipedia and SHERPA/RoMEO. Consult these lists and your target journal's author guidelines before submitting your preprint.
Many journal policies require declaration of posted preprints upon submission; we recommend you send the link or share the DOI to the Research Square preprint of your manuscript to other journals as part of a future submission.
Please note, policies on preprints vary by journal and/or publisher, but each publication should have information on preprinting in either their 'Editorial or Publication Policies' or 'Author Guidelines' section of the journal website. You might also find these policies referred to as ‘Self-archiving policies’. Some journals may not have this information available, but an email to the editor with an inquiry would give you a definitive answer.