Yes, that's safe. You're going to need some kind of direct box to get it in there, though. Tell us about your setup. What kind of outputs does your bass amp have, and do you have a mixer?
I have a similar set up , well not really, bnut I have an upright bass, a k&k one channel preamp with two piezo p/u's on the bridge, and I go through the preamp to the mic input on my pc. I have a program called multitrackstudio (which uses the dame devioces as any other program, basically). Would I be better off using a mic with an amp to get the deep tones?