On the other hand, instead of DIY you could just buy air purifier units with integrated air quality sensors. A friend of mine uses these, they appear to work very well https://www.philips.co.uk/c-p/AC2936_33/2000i-series-air-pur...
I would not recommend it purely because they decided to use an extremely poor touch interface for control which quiet often doesn't register when I try to manually adjust something like shutting the unit down temporarily or resetting an error code
Buying a purifier that can fit standard sized “box” filters will save you $$ in the long run.
Having one very powerful air purifier hidden away in another room is not as good as having a bunch of smaller ones spread around.
Overall, yes, a cheap box filter (placed specifically in the bedroom, if limited to one room) is often the most effective.