Hello Jack,
the answer is yes the two BGP paths are first compared in the separate BGP tables so there is a lot of methods to influence the best path choice.
After BGP choices its own best path that path with its AD is compared to any other entry coming from other routing protocols the best is installed in the routing table
So if you have an eBGP path an iBGP path and an OSPF path for the same prefix.
If you make the iBGP path preferred over the eBGP path (using weight, local-preference ..) the end result should be to see the OSPF route installed in the routing table (AD 110 < AD 200)
Hope to help
Giuseppe