Yes it is possible to be tested for HPV. See:HPV Test.
The current vaccines,Gardasil and Cervarix, are preventative (rather than therapeutic) vaccines and so recommended for women who are 9 to 25 years old and have not contracted HPV. There is work being done on developing therapeutic vaccines but nothing to report yet.
Hope that helps.