Yep! But there are a few more barriers in the way if your school does not offer AP courses (you'd need to find neighboring schools that do allow it and talk to the AP coordinator at that school).
For subject tests, there are pretty minimal barriers associated with signing up. You just register as you normally would for an SAT exam IIRC.