Yes, you absolutely can do this and back in the before times Facebook used to have an API that let you design your own interface to it.
But now I think that will be treated with as much derision by FAANG as ad blockers because you're preventing them from enraging you to keep you engaged and afraid. Why won't you think of the shareholder value (tm)?
But mandating API access would be fantastic government regulation going forward. Don't hold your breath.