Hello Aspirant,
Don't worry age is not an issue for JEE-Main and JEE-Advance but you can check that for NITs/IIITs/IITs because institutions have certain age limits.
Yes definitely you can appear for JEE-Main and upon qualifying it you can appear for JEE-Advance 2023 if you will be completing your last semester by that time and also note that before JEE-Advance 2023 your course must get completed because on the basis of your score in qualifying examination your eligibility for JEE-Advance will be decided.
Also note that academic gap does not matter in JEE-Main and JEE-Advance.
Note that maximum attempts allowed for JEE-Advance is 2 in 2 consecutive years, first attempt in the passing year of class 12th or equivalent examination and second attempt in very next year to that. Similarly for JEE-Main maximum attempts allowed for JEE-Main is 3 in 3 consecutive years, first attempt in the passing year of class 12th or equivalent examination and second attempt in very next year to that followed by third attempt in third year.
For more details kindly check out the links given below :-
JEE Advanced Eligibility Criteria 2022 - Check Age Limit, Domicile, Average Marks (careers360.com)
JEE Main Eligibility Criteria 2022 (Released) - Check Age Limit, Qualifying Marks, Number of Attempts (careers360.com)
I hope this information helps you.
Good Luck!!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile