Sort of. When they came out, the specs were pretty good and the price was good. But supply shortages meant that realistically, you are paying more than RRP anyway.
And it’s not like you will be able to install windows on a ps5 and use it as a replacement PC even if it is theoretically possible.