You sound like me 8 weeks ago. I'm currently mixed feeding at nearly 9 weeks.
I had the same issue with painful latch, lack of sleep and a baby that would only sleep on me. It ruined the first few weeks with DD. I've had a few threads in the past 2 months and had some really good advice. I also had great support from the infant feeding specialist midwife so contact them if you have them in your area.
I actually switched to bottles at one point but then had to go back to breast to get a tongue tie referral as they won't snip it for bottle fed babies.
We also ended up with terrible wind, vomiting and colic as DD had a posterior tongue tie diagnosed at 3 weeks and cut at 5 weeks and she's been better since.
DD has a small mouth so she can't open it really wide and has a shallow latch which is painful. I do sandwich hold to latch on and although it's still painful, it's tolerable. Try and have baby in a good position and chin leading when you latch.
It's apparently normal for breastfeeding to be a bit uncomfortable but nobody tells you that beforehand.
With regards to the sleep, I can't actually remember what happened because I'm still so knackered. I think it gradually got better over time. My main issue was her sleeping on me then me falling asleep. I remember reading a post where they said to lift and drop baby's arm 3 times and if they don't stir then you can put them down and that works for us. I also set a 10 minute timer on my phone if I feel like im too sleepy and it wakes me if I do fall asleep with her.
Whatever you do, don't get into the faff of breast, bottle then pump. I did that for a few days and it was brutal.
I'm currently offering breast at each feed then formula top up. We started this as she wasn't feeding well due to tongue tie and we almost got to exclusive breastfeeding after it was snipped but then I got mastitis and my supply reduced. My supply is good again but DD still wants the top ups so I've kind of made peace that this is how it works for us.
If breast isn't working out then do formula if that works better for you. Personally I would stick at breast for a bit longer as it seems like you want it to work. There's great advice on la leche league and kellymom websites and loads of knowledgeable posters on the infant feeding section on here.