Monte Carlo Simulation In Python instead of HSPICE
Yes you can. No they are not the same.
a) You have to model your circuit in python, using transfer function rules (e.g. for voltage dividers, opamps etc...), and vary the components (randomly) to update the transfer function.
OR
b) generate a spice netlist with selected (random) component values and run it in spice. This is not efficient, as you generate a new netlist for each case, but gives you most control through Python and the easiest circuit analysis through spice.
Using the transfer function approach is not the same as performing circuit analysis. Although both will arrive at the same outcome for linear circuits, any non-linearity (e.g. semiconductors, inductor core saturation) is not captured in the transfer function approach.