If you use a digital audio workstation—DAW, it isn’t too difficult but if you have to learn how to use the DAW and the process to work up a bass line, it will take a little more effort.
Many of us find a MIDI source file for a song we like and work it up as a one-press song.
You can search the forum for the word “tutorial” and see if the process appeals to you. I posted one not too long ago for Reaper.