Yes, you can have both with that PH . In their natural habitat they both come from water with lower PH in 3-6.5 range. Apistos also mostly like very soft water (low KH & GH) so you will want to adjust those down if you can. They also like tannins(black water), sandy substrate, low light and low current. These are all important if you want them to be very healthy and happy. Luckily the tannin producing things also tend to lower PH naturally so this is how i do it. With Rams in their natural habitat they exist in very hot water up to 100 degrees so better to keep the tank 80+ degrees for them although this is not a must.
The good news is most captive bred fish will be acclimatized to 7 PH and normal 76-80 degree temp so this shouldn't be a problem unless you get wild caught. You can use your tap water and definitely for Apistos you should get some almond or oak leaves or alder cones (you can also use sphagnum peat moss) to use to make soft "black water" and also use a sand substrate so they can sift it. You don't have to make tea water but it's still good to have some leaves and many caves in their for natural hiding spaces.
As dithers/tankmates you can use any SA tetras like cardinal, neon, ember etc. and definitely pencil fish are great for Apistos as they occupy different areas of the tank. one other thing, as Apistos live in the lower level IMHO corydoras and plecos can be a bother for them and should be used sparingly as they may dominate your dwarfs.
For more information, do a web search and check out
Apistogramma.com if you want to learn lots more about both species!
Good luck and welcome back to the hobby!