Of course you can. That's the great strength of Python, it is extendable. There are a number of online examples of genetic algorithms written in Python. All you have to do is figure out how to read and write the required data from/to PSSE during the execution of the algorithm.