Postie1973
You can claim NS ESA without a problem, your payment will have no effect.
The UC is more problematical as this is a means-tested benefit.
First, in case you are not aware and NS ESA you receive will be deducted £ for £ from any UC award.
Second, UC has two capital limits. If your assets and savings exceed £6000 then there will be a £1/week (prorated to a monthly figure) for every £250 you are in excess. There is a second limit of £16,000 above which you cannot receive UC.
Paying off your debts should not be a problem for UC, however, from your post, there would be a deduction from your UC as described above.
Gordon
Nothing on this board constitutes legal advice - always consult a professional about specific problems