You can do that using the gear tracking feature:
I use that to get a reminder to check chain wear when I have done 3300km and to remember to top up tubeless sealant.