Somewhere I read that in PFD the polynomials in the denominator should be irreducible. For curiosity I tried it with a reducible polynomial and got an answer out of it. I think I might have not understood what they meant.
This the the fraction and the result I got.
$$ \frac{1}{(x^2+x)(x+2)}=-\frac{0.5x-0.5}{x^2+x}+\frac{0.5}{x+2} $$
First of all, at present you have a confusing typo in your displayed equation: presumably the first factor of the denominator of the left hand side should be $x^2+x$.
It is part of the definition of the PFD that you should restrict to powers of irreducible polynomials, yes. This is a natural condition that is helpful for many applications: for instance in finding antiderivatives of rational functions (over $\mathbb{R}$) and finding Laurent series expansions (over $\mathbb{C}$).
So I would say that your identity above is not a PFD. If you're asking whether it's a true identity, yes it is, assuming the typo mentioned above is fixed. If you're asking for the possibility of establishing identities like this in some generality: sure, it's pretty clear that there will always be an identity of the form
$\frac{A}{x-c_1} + \frac{B}{x-c_2} = \frac{Cx+D}{(x-c_1)(x-c_2)}$,
right? Just do the addition on the left hand side.