can i create web page with web page using ajax in run time
are u sure u r not looking for a CMS??
You can.... But your going to have problems with server-side code on the pages (they stay on DB and do not have the server process influence, so cannot be processed), depending on how you are doing.
Use Drupal (CMS) to see how it works first... This can help.