can a diploma student can apply for the JEE Mains
Diploma holders can apply for JEE Main to be eligible only for JEE Advance, They can not use JEE Main score for the admission in NITs or other colleges, They will be eligible to take admission in IITs only for B.tech in the first year through JEE Advance.
Diploma students who have completed their degree, or are in the final year of doing so, are eligible to apply for JEE Main and after clearing JEE MAINS will be able to attend for JEE ADVANCED. After clearing that also you will be able to get admission in IIT's or NIT's equal to 12th passed outs that means you can take admission in B.Tech first year but not in B.Tech second year means no lateral entry.
Hope this helps.
All the best!