Is it OK to extract datasets from somebody's paper and work with it in your own papers?
If you cite the original authors in your plots and when comparing results/conclusions (or simply everywhere you use their data/work) you should be fine.
Also make it clear that the data is "reverse engineered" from their graphs/plots and not the "original" data.