Is it rude to decline being a bridemaid?

I was asked by my sister in law to be a bridesmaid.

I never really thought of us as close. Like I never thought she even liked me lol

I also have terrible social anxiety and hate being in crowds.

I want to be there for her if she wants me there. But I'm finding it hard to say yes 😕