100%, I don't think I could have gone to a wedding in the week after I gave birth, and I had a very straightforward labour with very minor tear.
That's not to say it won't be possible for you, but even an hour out of the house in those first few days were difficult for me.
Some things you may not have thought about (apols if you have!!):
If you're exclusively breastfeeding, it's likely you'll be cluster feeding days 2-4. For me, this meant feeding every 30 mins for 20 mins, day and night. 😵💫 It can be very stressful and the stress can affect your supply. I basically didn't sleep for three days and then had a breakdown. (I...really wish I'd prepared better.) If you plan to combi/formula feed for the day then things get even more complicated.
You'll have pp bleeding, possibly stitches. My stitches didn't hurt at all but did get infected so I had extra appointments in that first week that I couldn't have prepared for.
Pain-wise, everything ached a bit but I could have managed some walking and sitting at a wedding. You can take ibuprofen while breastfeeding! 😊 Standing a lot for photos would have been tough though - so I'd pick the ones you really want to be in or ask if they can incorporate a chair.
Sitting through a service would have been prime conditions for me to fall asleep. You have to watch your caffeine intake when breastfeeding, too! So be frugal with your coffee.
Midwives visit every few days for the first couple of weeks. Where I live they don't give a time, they just drop in. So I'd double-check what this is like in your area.
Hormone-wise, everything hits you on day 3 or 4. It hit me like a tonne of bricks and I couldn't function at all. I was a sleep-deprived, sweaty and emotional mess.
Speaking of which - I had terrible pp sweats. There's a school of thought that strong perfumes/deodorants/soap affect baby's ability to latch effectively - which could be bollocks but worth bearing in mind. Try to wear something in a very breathable fabric if you can arrange it with the bride!
Hope you have a good birth and fingers crossed you make it to your friend's wedding. Everyone's experiences are different but the things I've mentioned are all things I really wish I'd known before!