Yes, you can replace the dead drive with any SATA 2.5" drive that's 9.5mm in height.
Once you've installed the drive, boot up from your OS X install disc. Launch Disk Utility. Partition your drive (make sure to use GUID partition table). Return to the OS X installation process and continue with the installation. Done.