i'm not sure if i fully understand your question... but you are likely fine.
are you wanting to donate your scholarship money to a charity? if so, you should just accept the scholarship money, and then make a donation on your own to the charity of your choice. there is nothing against this.
or are you wanting to donate your scholarship money to a teammate? this would get trickier, and you'd be better served to have your scholarship just put in this person's name instead of yours. there should be nothing wrong with that either.
in all, i'm sure that you can get your money donated to a good cause if you don't need it. i'd just take the $$ myself and make the donation myself to ensure that it gets to the right group.
hope this helps.