I don’t know what to think about myself (long post)

So last night my friend (who we’ll call Jane) and I went out to get dinner and I was gonna spend the night at her place after cause we hadn’t seen each other in a long time. So we bought some wine and went on to her place after dinner. We get there and we start drinking and she gets her bottle of vodka and we start doing shots. And we’re being all goofy like tipsy/drunk people do and so a few hours later we were laying next to each other and then I rolled over onto her and was talking to her about how I missed my boyfriend and I started pecking at her neck and around her face while she talked to me and made me feel better about him being away and it never amounted to anything more than pecking around her face or her neck and she was hugging me telling me that it was gonna be fine and that I was just being emotional and then I told her that she was so nice and that I loved that she was my best friend and told her that if her and her boyfriend ever broke up then I would totally be open to dating and then I started pecking around her face and neck some more and she was telling me that I was so sweet and hugging me and calling me her best friend and saying how much her and her boyfriend love each other and then she said she was gonna make tacos and then we got up and made the tacos and everything was fine after that, atleast I thought it was fine. So after I get back to my place, I get a message from her boyfriend telling me to never talk to her again. I ignored it because I thought he was being jealous. So I go about my business and deal with the rest of my day and then I’m out right now with another friend and I get a message from her boyfriend asking if I understood him. I said “does Jane know your talking to me like this?” I also said “do you really think I’m gonna listen to a word you say?” And he goes “don’t ever talk to her again or I’ll report you for unwanted sexual advances?” So I’m like what the fuck? And I already felt awkward from the moment I woke up this morning and remembered about the pecking her face and neck and knew it was wrong cause she had a boyfriend and so I respond saying “fine I won’t talk to her again but I’m gonna text her one last time and apologise for how I acted last night even though I know that will probably not ease the emotional stress and pain I may have caused her.” And I texted her just that saying all that and that I was sorry and she was my best friend and that I thought we could get close like that but that I went too far. And he then told me that she went to him today and cried about what I had done because she was assaulted before. And then I blocked her and her boyfriend on my phone and all social media and now I feel like shit cause I didn’t think about it and now I’m just as bad as half of Hollywood and I know I’m gonna get hate for this situation but I don’t know what to think about myself and about this situation. I understand how she may have felt uncomfortable about what I did although I don’t know if she was honestly uncomfortable or honestly not uncomfortable because she never spoke to me about it directly which I understand is hard for people who have been sexually assaulted or harassed or abused. Her boyfriend was putting me in the same category as a sexual abuser and I feel really shitty because I was just drunk and sad. I would never have had sex with her or forced her to have sex with me and I never asked her for sex or even hinted at it. All I did was lay on top of her while pecking her face and neck. And some people will say that doesn’t justify what I did but honestly I will report myself to the police if what I did is that horrible and I told her that she should report me to the police if she felt it was right for her and her situation because I would never want to be a threat to anyone in the same way I am now a threat to her. At one end I want to say I don’t know how she could get upset about me pecking her face but then on the other end I understand and i feel like I should be in jail or something. Sorry this was such a long post but I just want some feedback and to hear what you guys think 😔