No it is not a good idea. If you are struggling to make it paycheck to paycheck then something has to change. If you take a payday loan, that means next pay period, you are already starting at a disadvantage and will never catch up.
The interest on those loans is absolutely horrible as well. I would try to pare my budget down to almost nothing to avoid that payday loan.