I have a calm male betta in 20 gallon (90L) with 5 cardinal tetras 8 rummynose tetas and 2 scissor tail rasboras and around 15 amano shrimp
It depends how calm is your betta but 10 gallon might be too small also it depends on what kind of filtration you have.
Not only betta might attack the other fish but rasboras and tetras sometimes might be fin nippers.
The smaller the tank the more likely something will go wrong.
It might be better to add corydoras as they live on the bottom of tank so betta would have the top to himself.
I wouldn't put any shrimp smaller then amanos to a betta tank but it also depends how many hiding spots will they have.
Once I added cherry shrimp to my betta he swallowed one whole so that was the most expensive meal of his lifetime.
AqAdvisor has a nice stocking calculator but the site isnt always working if its not working on laptop it might work on a phone. So your stocking would be pushing it to the max.
I would get a lot of hiding spaces for the fish - live or artificial plants.
And I recommend getting a canister filter if you have enough room for it as its great for cleaning the water.
Shrimp especially the small ones do not change the stocking much as they dont take up much space and do clean the tank a bit so as long as you dont mind them being eaten if they dont have where to hide they youd be fine.