It's usually rats and possums that cause troubles to gardeners @Flo54. Where are you based to have bandicoots in your garden? Hopefully there will be some community members who can share some advice with you.
Let me also extend a very warm welcome to the Workshop community. It's fantastic to have you join us. I hope you find plenty of helpful advice, information and inspiration here. Feel free to post anytime you need a hand. You might also like to share some of your projects and plans with the community.
You are lucky to have bandicoots in the garden! They keep pests at bay like cockroaches, spiders, ants, moths, termites etc. If they are leaving holes in your lawn they are often eating pests that will harm your lawn, plus they are helping to aerate the soil.
But if you do really want to get rid of them then use lights and dynamic lifter or chicken manure in the garden. The combination of lights and unpleasant smell will deter them and is easier than fencing. Just don't use any pesticides and be careful if you have pets to keep them inside at night.
Yes, be careful as bandicoots are endangered and a protected species in many parts of Australia.
You live in a lovely area of Australia @Flo54. Do you have a large property?
I can understand that it would be frustrating if they were digging out your plants. I would start with the dynamic lifter or chicken poo on your garden beds. If that's not enough to deter them then I would install the lights.
Good luck, please let us know how you go.
I live on a house block in a semi rural area between Ballina & Lismore. We also have problems with rabbits.