Anyone, who confuses ideology and economics is not a good economist. As citizens we have views on how we would like the society be. As economists we have views on what would be consequences of such or other policies. And confusing the two is not a good thing.
Now, it would be hard to find an good economist who does not much like free trade, for instance. Or would advocate price controls on most goods. Not because of the "left", or "right", but because there are very few circumstances out there where sane objectives cold be achieved by such policies. Markets have many attractive features - even if you are an convinced socialist.
I agree.
One doesn't need to agree with Keynes' political views presented in the Chapter 24 of the "General Theory of Employment, Interest and Money" in order to recognize the relevance of the other 23 chapters of the book for macroeconomics. It is not necessary to be a leftist to recognize that lack of demand can cause equilibrium below the full employment level. Many right-wing governments practiced conservative keynesian policies: military spending, tax cuts for high income families.
One doesn't need to agree with Friedman's views on education in order to recognize his contribution to macroeconomics. Even if you don't agree with the privatization of schools, you can accept that there is no long term relation between inflation and unemployment.