Hi,
If you are not comfortable with your current employment you can resign quoting any reasons. But ensure you serve proper notice period of 1 month and get relieved. The Employer has no other option except to accept your resignation provided you are serving proper notice period.
But think about the employer side. Amount of efforts they had put in to hire you, place you in the department after Induction /training process. Again they need to start the whole process to find replacement for you. Before you join a Company try to have thorough analysis of the Company whether the field is relevant to you, opportunity for growth/ learning with the company, their Project/ production performance for couple of years, stability of employment etc.
Now after joining the so called another company again if you get an offer what will be your stand?. Somewhere you need to draw a line and try to complete minimum 4-5 years with a Company for mutual benefit.