If we are talking about fingerstyle electric bass, the style is somewhat similar but not the same. I've got a good look at this recently, because I'm returning to playing Classical Guitar also after almost 15 years a bass player (electric).
Because of the larger string size, and the more wider spacing in the bridge the plucking technique is a bit different. More advanced (very fast) players for example might use a "finger ramp" to stop the finger, is. the rest stroke is not aimed at the below string, but downwards to the ramp (which limits the movement and enables a faster bounce back). There's also an ongoing debate about anchoring the thumb to the pickup edge/lowest string/a designated thumbrest versus floating the thumb freely while playing. Some players use the thumb also, when the entire technique moves a bit closer to classical, because it might be combined with other fingers also - so you could say that if we're talking about Solo (electric) bass, we're getting pretty close to classical territory technique wise.
Upright bass is a totally different thing, IMO - all the way starting from the instruments position, playing posture etc.