linux – Initialize RasPi running Ubuntu with separate information (additional user and .bashrc changes)

I was wondering of there is a way to initialize a RasPi running Ubuntu with some information before I insert the SD card? Meaning I want to write some default information to the SD card from my local workstation (the one which runs the RasPi Imager). My local workstation is Ubuntu and my RasPi node is Ubuntu as well.

In particular I’m trying to create another user right from the start and manipulate the corresponding .bashrc file. Anyone got an idea on how I could tackle this?